package com.corpgovernment.organization.service;

import com.corpgovernment.api.organization.model.redemptioncode.GetRedemptionCodeRequest;
import com.corpgovernment.api.organization.model.redemptioncode.GetRedemptionCodeResponse;
import com.corpgovernment.api.organization.model.redemptioncode.RedemptionCodeVo;
import com.corpgovernment.api.organization.vo.DownloadResponse;
import com.corpgovernment.common.base.BaseUserInfo;
import com.corpgovernment.job.controller.vo.job.PageBatchImportJobRecordReqVo;
import com.corpgovernment.job.controller.vo.job.PageBatchImportJobRecordRespVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author xbqi
 * @date 2023/11/1
 */
public interface RedemptionCodeService {

    GetRedemptionCodeResponse listRedemptionCode(GetRedemptionCodeRequest request);

    DownloadResponse syncRedemptionCode(MultipartFile file, BaseUserInfo baseUserInfo);

    boolean bindRedemptionCode(String uid,String uname);

    RedemptionCodeVo getRedemptionCode(String uid);

    PageBatchImportJobRecordRespVo pageBatchImportRedemption(PageBatchImportJobRecordReqVo requestParam);
}
